import { httpUrl } from 'api/config'
import { ajax } from 'api/axios'

export const changePassword = (data = {}, seeionId = '') => {
  const url = `${httpUrl}/changeNewPassword`

  return ajax(url, data, {
    header: {
      Cookie: `SESSION=${seeionId}`
    }
  })
}
